// 导入所有API模块
import * as loginAPI from './login.js';
import * as adminHomeAPI from './admin/home.js';
import * as authAPI from "./admin/auth.js";
import * as orderAPI from "./admin/order.js";

// 可以继续导入其他API模块

// 整合所有API
const api = {
  // 登录相关API
  login: loginAPI,
  // 后台首页相关API
  admin: {
    home: adminHomeAPI,
    auth: authAPI,
    order: orderAPI,
  },
  // 可以继续添加其他模块
};

export default api;